
export enum EnGameState {
    Enter = 0,              //刚登进
    Readying = 1,           //请做好准备包括前期的准备、进贡和还贡，既是在能出牌前的所有步骤
    InGame = 2,             //正在游戏
    Settlement = 3,         //结算
}

export class GameData {

    public static bExitGame: boolean = false;
    public static bLocal: boolean = false;
    public static outCardTime: number = 20;
    public static gameState: EnGameState = EnGameState.Enter;
    public static isPlayMusic: boolean = true;
    public static isPlayAudio: boolean = true;
    public static isPlayVoice: boolean = true;

    public static isInNetwork: boolean = false;

    public static port: number = 20010;
    public static hallAddress: string = "www.fznnic.cn";
    // public static hallAddress: string = "127.0.0.1";
    public static token: string = "";

    public static isReLogin: boolean = false;
    public static isPlayerExit: boolean = false;
    public static versionCode: number = 11000;

    public static isLoadingRes: boolean = false;

    public static isPomeloInit: boolean = false;

    public static textareaIndex: number = -1;

}



